package net.hn.hnms.biz.safety.location.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Objects;

/**
 * Author: PanSX
 * Date: 2023/4/3 16:32
 */
@Data
@ApiModel
public class ToDayDataVo {
    private String mineName;
    private String companyName;
    private String mineCode;
    private String companyCode;
    @ApiModelProperty("井下人数")
    private int peopleCount;
    @ApiModelProperty("车辆数")
    private int vehicleCount;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof ToDayDataVo)) return false;
        ToDayDataVo that = (ToDayDataVo) o;
        return Objects.equals(mineCode, that.mineCode);
    }
}
